package cn.iocoder.yudao.module.reservation.controller.admin.store.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 店铺新增/修改 Request VO")
@Data
public class StoreSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "2391")
    private Long id;

    @Schema(description = "店铺编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "店铺编号不能为空")
    private String code;

    @Schema(description = "店铺名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "店铺名称不能为空")
    private String name;

    @Schema(description = "经营类目")
    private Integer category;

    @Schema(description = "联系电话")
    private String phone;

    @Schema(description = "电子邮箱")
    private String email;

    @Schema(description = "开店时间")
    private LocalDateTime openDate;

    @Schema(description = "详细地址")
    private String address;

    @Schema(description = "店铺状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "店铺状态不能为空")
    private Integer status;

}